projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9727a4c
)
Don't use g_slist_next in gtkstock.c
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 20 Oct 2015 00:34:58 +0000
(20:34 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 20 Oct 2015 10:14:57 +0000
(06:14 -0400)
We generally use ->next directly.
gtk/deprecated/gtkstock.c
patch
|
blob
|
history
diff --git
a/gtk/deprecated/gtkstock.c
b/gtk/deprecated/gtkstock.c
index 71f3c69bbfcfb16674560e4c0cfb887f13b24f26..bfc75e7534a5cf3e957b6a38fd23ad9655743ae4 100644
(file)
--- a/
gtk/deprecated/gtkstock.c
+++ b/
gtk/deprecated/gtkstock.c
@@
-255,7
+255,7
@@
gtk_stock_list_ids (void)
{
GList *next;
- next =
g_list_next (ids)
;
+ next =
ids->next
;
if (last_id && strcmp (ids->data, last_id) == 0)
{
@@
-268,7
+268,7
@@
gtk_stock_list_ids (void)
}
g_list_free_1 (ids);
-
+
ids = next;
}